package cn.lisens.influxdb.entity;

import java.time.Instant;

import com.influxdb.annotations.Column;
import com.influxdb.annotations.Measurement;

import lombok.Data;

@Measurement(name = "temperature2")
@Data
public class Temperature {

    @Column(tag = true)
    private String location;

    @Column
    private Double value;

    @Column(timestamp = true)
    private Instant time;
    
    private String collectDay;
}
